package com.bos.dao;

import com.bos.domain.Kabupaten;
import com.bos.domain.Kecamatan;
import org.springframework.dao.DataAccessException;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: Latief
 * Date: 3/15/11
 * Time: 8:53 PM
 * To change this template use File | Settings | File Templates.
 */
public interface KecamatanDAO extends GenericDAO<Kecamatan>{
    public List<Kecamatan> getByKabupaten(Kabupaten kabupaten) throws DataAccessException;
    public List<Kecamatan> getByKabupatenId(Long kabupatenId) throws DataAccessException;
}
